package com.blb.exam.dao;


import com.blb.exam.common.entity.Quetion;

import java.util.List;

public interface QuetionDAO {

    //按id查考试题集
    Quetion selectById(Long id);

    //插入
    int insert(Quetion quetion);

    //更新
    int update(Quetion quetion);

    //删除
    int deleteById(int id);

    //分页查询
    List<Quetion> selectLimitLikeContent(String content, int start, int length);

    //查考试题集总数
    int selectCountLikeContent(String content);
}
